/**
 * Copyright (c) 2018 软唐 All rights reserved.
 * <p>
 * https://www.softtown.cn
 * <p>
 * 版权所有，侵权必究！
 */

package com.softtown.common.exception;

/**
 * 错误编码，由5位数字组成，前2位为模块编码，后3位为业务编码
 * <p>
 * 如：10001（10代表系统模块，001代表业务代码）
 * </p>
 *
 * @author Ding Ya Yong
 * @since 1.0.0
 */
public interface ErrorCode {
    int INTERNAL_SERVER_ERROR = 500;
    int UNAUTHORIZED = 401;

    int NOT_NULL_VALUE = 20000;
    int NOT_NULL = 10001;
    int DB_RECORD_EXISTS = 10002;
    int PARAMS_GET_ERROR = 10003;
    int ACCOUNT_PASSWORD_ERROR = 10004;
    int ACCOUNT_DISABLE = 10005;
    int IDENTIFIER_NOT_NULL = 10006;
    int CAPTCHA_ERROR = 10007;
    int SUB_MENU_EXIST = 10008;
    int PASSWORD_ERROR = 10009;
    int SUPERIOR_DEPT_ERROR = 10011;
    int SUPERIOR_MENU_ERROR = 10012;
    int DATA_SCOPE_PARAMS_ERROR = 10013;
    int ACT_DEPLOY_ERROR = 10016;
    int ACT_MODEL_IMG_ERROR = 10017;
    int ACT_MODEL_EXPORT_ERROR = 10018;
    int UPLOAD_FILE_EMPTY = 10019;
    int TOKEN_INVALID = 10021;
    int ACCOUNT_LOCK = 10022;
    int ACT_DEPLOY_FORMAT_ERROR = 10023;
    int OSS_UPLOAD_FILE_ERROR = 10024;
    int SEND_SMS_ERROR = 10025;
    int MAIL_TEMPLATE_NOT_EXISTS = 10026;
    int REDIS_ERROR = 10027;
    int JOB_ERROR = 10028;
    int INVALID_SYMBOL = 10029;
    int JSON_FORMAT_ERROR = 10030;
    int SMS_CONFIG = 10031;
    int SMS_ERROR = 10032;
    int SMSCODE_ERROR = 10033;
    int PASSWORD_SAME_ERROR = 10034;
    int MOBILE_EXISTS = 10035;
    int MOBILE_EMPTY = 10036;
    int MOBILE_ERROR = 10037;
    int PWD_ERROR = 10038;
    int INCORRECT_DATA_FORMAT = 10041;
    int MOBILE_NOT_EXIST = 10042;
    int COMPANY_NAME_USCC = 10043;
    int COMPANY_EXISTS = 10044;
    int INCORRECT_USCC_FORMAT = 10048;
    int INCORRECT_TELEPHONE_FORMAT = 10049;
    int INCORRECT_NAME_FORMAT = 10050;
    int INCORRECT_MOBILE_FORMAT = 10051;
    int COMPANY_NOT_EXISTS = 10052;
    int COMPANY_NAME_TYPE = 10053;
    int INCORRECT_SORT_FORMAT = 10054;
    int INCORRECT_DEPARTMENT_FORMAT = 10055;
    int COMPANY_EMPL_EXISTS = 10057;
    int DATA_EXISTS = 10058;
    int ROLE_NAME_TYPE = 10059;
    int ROLE_NAME_EXISTS = 10060;
    int DEPARTMENT_NAME_EXISTS = 10061;
    int EMPLNUM_EXISTS = 10062;
    int USER_MOBILE_EXISTS = 10063;
    int USER_EMAIL_EXISTS = 10064;
    int PID_DATA_EXISTS = 10065;
    int POSITION_DATA_EXISTS = 10066;
    int POSITION_FORBIDDEN_DATA_USED = 10069;
    int USERNAME_EXISTS = 10070;
    int INCORRECT_REAL_NAME_FORMAT = 10071;
    int INCORRECT_EMAIL_FORMAT = 10072;
    int EMAIL_EXISTS = 10073;
    int INCORRECT_NEW_MOBILE_FORMAT = 10077;
    int NEW_CAPTCHA_ERROR = 10078;
    int INCORRECT_NEW_CAPTCHA_FORMAT = 10080;
    int NEW_CODE_ERROR = 10082;
    int EMAIL_EMPTY = 10084;
    int INCORRECT_NEW_EMAIL_FORMAT = 10086;
    int RULE_ERROR = 10090;
    int DEL_ERROR = 10091;
    int INCORRECT_EXPENSE_ITEM_NAME_FORMAT = 10092;
    int EXPENSE_ITEM_NAME_EXISTS = 10093;
    int EXPENSE_ITEM_NAME_DATA_EXISTS = 10095;
    int INCORRECT_EXPENSE_COLLECTION_CODE_FORMAT = 10096;
    int INCORRECT_EXPENSE_COLLECTION_NAME_FORMAT = 10097;
    int EXPENSE_COLLECTION_CODE_EXISTS = 10098;
    int INCORRECT_EXCHANGE_RATE_FORMAT = 10099;
    int EXCHANGE_RATE_SAME_ERROR = 10100;
    int BUD_GET_DEPT = 10101;
    int SUPERIOR_FIN_ITEM_ERROR = 10102;
    int ITEM_ERROR = 10103;
    int BUD_GET_ERROR = 10104;
    int EXPENSE_ITEM_NAME_FORBIDDEN_DATA_ERROR = 10105;
    int EXPCLCTCD_BUDGET_ERROR = 10107;
    int VERSION_ERROR = 10108;
    int VERSION_EXP_ERROR = 10109;
    int FIN_DEPT_ERROR = 10110;
    int FIN_EXPCLCTCD_ERROR = 10111;
    int EXPCLCTCD_ERROR = 10112;
    int RATE_ERROR = 10113;
    int BENEID_ERROR = 10114;
    int USERAPPLCOMP_ERROR = 10130;
    int DEPT_EXISTS_ERROR = 10131;
    int UPDATED_ERROR = 10132;
    int DOC_PHASE_ERROR = 10133;
    int APRV_QT = 10134;
    int DOC_TYPE_ERROR = 10135;
    int FIN_EMPL_BENE_ERROR = 10136;
    int EXCESS_OF_LOAN = 10137;
    int EXCEEDING_THE_COST_COLLECTION_CODE_BUDGET = 10139;
    int EMAIL_FAIL_SEND = 10141;
    int STORAGE_SERVICE_ERROR = 10142;
    int INIT_MANAGER_PASSWORD = 10143;
    int EMAIL_NOT_EXIST = 10144;
    int ACTIVE_USER_NUM = 10145;
    int EXPENSE_USE_ERROR = 10147;
    int EXPENSE_USE_EXIST = 10148;
    int SPD_SUPP_EXIST = 10149;
    int EXCESS_OF_PAY = 10150;
    int EXPITEM_NULL = 10152;
    int APPLICANT_ID_INCONSISTENT = 10153;
    int ORDER_EXIST_ERROR = 10156;
    int PHASE_DOC_REPEAT = 10157;
    int APP_ERROR = 10158;
    int DELETE_FAILED = 10159;
    int MARK_FAILED = 10160;
    int UNREAD_FAILED = 10161;
    int AMOUNT_BEYOND = 10162;
    int APPLICATION_FORM_EXISTS = 10163;
    int APPROVAL_COMMENTS_ERROR = 10164;
    int PLAN_APPLICATION_FORM_EXISTS = 10165;
    int EXPENSE_ITEMS_EXCEEDED_ERROR = 10166;
    int EXPENSE_ITEMS_EXCEEDED_COST_COLLECTION_CODE_ERROR = 10167;
    int COMPANY_EMPTY_ERROR = 10168;
    int ROLE_EMPTY_ERROR = 10169;
    int ROLE_ALREADY_ERROR = 10170;
    int DELETE_FAILED_ERROR = 10171;
    int EDIT_FAILED = 10172;
    int UNRELATED_EMPLOYEES_ERROR = 10173;
    int FORBIDDEN_ROLE_ERROR = 10174;
    int DELE_USER_ERROR = 10175;
    int DEL_EMPL_ERROR = 10176;
    int APPROVER_NOT_NULL = 10177;
    int BUDGET_DEPT_SET_ERROR =10178;
    int EXRATE_EXCHANGE_ERROR =10179;
    int LOGIN_USER_COUNT_ERROR =10180;
    int IS_NOT_BUDGET_DEPARTMENT_ERROR =10181;
    int PID_ITEM_ERROR =10182;
    int DOC_ATT_ERROR =10183;
    int DOC_PHASE_NAME_ERROR = 10184;
    int NOT_NULL_REQUIRED = 10185;
    int USCC_EXISTS = 10186;
    int ADDRESS_EXISTS = 10187;
    int TYPE_RULE_EXISTS = 10188;
    int REPLY_CONTENT_EMPTY_ERROR = 10189;
    int APP_RETURN_NOT = 10190;
    int APP_RETURN_ERROR = 10191;
    int BUDGET_DEPT_EXIST = 10192;
    int EXECUTOR_USE_ERROR = 10193;
    int EXECUTOR_USE_EXIST = 10194;
    int INVOICE_USE_ERROR = 10195;
    int CITY_NAME_EXISTS = 10196;
    int CITY_NEXT_EXISTS = 10197;
}